namespace Forging2.DataBase.ZH_IMES
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    public partial class ly_workcenter
    {
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public int id { get; set; }

        [Required]
        [StringLength(255)]
        public string workcenter_no { get; set; }

        [Required]
        [StringLength(255)]
        public string workcenter_name { get; set; }

        [StringLength(255)]
        public string workcenter_description { get; set; }

        [Required]
        [StringLength(255)]
        public string site { get; set; }

        [Required]
        [StringLength(255)]
        public string byUser { get; set; }

        [Column(TypeName = "datetime2")]
        public DateTime createTime { get; set; }

        public int state { get; set; }

        [StringLength(255)]
        public string workcenter_class { get; set; }

        [StringLength(255)]
        public string workcenter_type { get; set; }

        [StringLength(255)]
        public string workcenter_version { get; set; }
    }
}
